<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../common/vue.min.js" type="text/javascript"></script>
</head>
<body>
<!--view-->
<div id="test">
    hello {{world}}!!
</div>

<script type="text/javascript">
    //model
    var data = {
        world: 'vue.js'
    }
    // 创建一个 Vue 实例或 "ViewModel"
    // 它连接 View 与 Model
    var vueModel = new Vue({
        el: '#test', //el :element
        data: data
    })

</script>

</body>
</html>